<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        li{
            list-style: none;
        }
        .box{
            width: 1000px;
            height: 500px;
            margin: 50px auto;
            display: flex;
            justify-content: space-between;
        }
        .box .div1{
            width: 220px;
            background-color: #800080;
        }
        ul{
            width: 750px;
            background-color: white;
             display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-content: space-between;
           
        }
        li{
            width: 158px;
            height: 240px;
            background-color: #87ceeb;
            
        }

    </style>
</head>
<body>
    <div class="box">
        <div class="div1">1</div>
            <ul>
                <li>1</li>
                <li>2</li>
                <li>3</li>
                <li>4</li>
                <li>5</li>
                <li>6</li>
                <li>7</li>
                <li>8</li>
            </ul>
        
    </div>
</body>
</html>